package com.apestech.framework.sql.condition;

import com.apestech.framework.json.JSONArray;

/**
 * @author hup
 * @create 2018-11-16-11:15
 */
public class QueryField {

    public static class Page{
        private int page=0;
        private int size=0;
        private int startPage=0;
        private int endPage=0;
        private long total=0;
        private int totalpage=0;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartPage() {
            return startPage;
        }

        public void setStartPage(int startPage) {
            this.startPage = startPage;
        }

        public int getEndPage() {
            return endPage;
        }

        public void setEndPage(int endPage) {
            this.endPage = endPage;
        }

        public long getTotal() {
            return total;
        }

        public void setTotal(long total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }
    }

    public static class Sql{
        private String printSql=null;
        private String execSql=null;
        private JSONArray resParam=null;
        private String sumSql=null;

        public String getPrintSql() {
            return printSql;
        }

        public void setPrintSql(String printSql) {
            this.printSql = printSql;
        }

        public String getExecSql() {
            return execSql;
        }

        public void setExecSql(String execSql) {
            this.execSql = execSql;
        }

        public JSONArray getResParam() {
            return resParam;
        }

        public void setResParam(JSONArray resParam) {
            this.resParam = resParam;
        }

        public String getSumSql() {
            return sumSql;
        }

        public void setSumSql(String sumSql) {
            this.sumSql = sumSql;
        }
    }
}
